Completed
Pull Request — develop (#111)
by Xaver
01:08
created

module.exports   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 15

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
c 1
b 0
f 0
nc 1
dl 0
loc 15
rs 9.4285
nop 3

1 Function

Rating   Name   Duplication   Size   Complexity  
A 0 13 1
1
module.exports = function (gulp, plugins, config) {
2
  return function sass() {
3
    return gulp.src('scss/*.scss')
4
      .pipe(plugins.sourcemaps.init())
5
      .pipe(plugins.sass({
6
        outputStyle: 'compressed',
7
        sourceMap: false
8
      }))
9
      .pipe(plugins.autoprefixer({
10
        browsers: config.autoprefixer
11
      }))
12
      .pipe(plugins.sourcemaps.write('.', { addComment: false }))
13
      .pipe(gulp.dest(config.build));
14
  };
15
};
16